import request from '@/utils/request'

// 发布文章
export const addArticleAPI = fd => request.post('/my/article/add', fd)

// 获取文章列表数据
export const getArticleAPI = params => {
  return request({
    method: 'GET',
    url: '/my/article/list',
    params: params
  })
}
